﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserAdd.aspx.cs" Inherits="Web.Page.UserAdd" %>
<%@ Register TagPrefix="cc1" Namespace="Liaojy.UI.WebControls" Assembly="Liaojy.UI.WebControls" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../Css/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        
        .style1
        {
            color: #FF3300;
        }
            
    </style>
       <script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript">
        function show() {
            WdatePicker({
                minDate: '%y-%M-%d',
                dateFmt: 'yyyy-MM-dd HH:mm:ss'
            });
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />  
        <asp:UpdatePanel ID="UpdatePanel2" runat="server"  UpdateMode="Conditional">
            <ContentTemplate>                   

    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
         <tr>
                    <td >
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="15" >
                                    <img src="../images/tab_03_1.gif" width="15"  />
                                </td>
                                <td style="text-align:left; vertical-align:bottom" width="100%" background="../images/tab_05_1.gif">
                                &nbsp;<cc1:HoverButton id="btnSave" runat="server" MouseOverImageUrl="../images/btn_save1.png" ImageUrl="../images/btn_save0.png" MouseDownImageUrl="../images/btn_save2.png" onclick="btnSave_Click"
				></cc1:HoverButton>
                                &nbsp;<cc1:HoverButton id="btnClear" runat="server" 
                                        MouseOverImageUrl="../images/btn_reset1.png" 
                                        ImageUrl="../images/btn_reset0.png" 
                                        MouseDownImageUrl="../images/btn_reset2.png" onclick="btnClear_Click" CausesValidation="False"
				></cc1:HoverButton>
                                &nbsp;<cc1:HoverButton id="btnReturn" runat="server" 
                                        MouseOverImageUrl="../images/btn_back1.png" ImageUrl="../images/btn_back0.png" 
                                        MouseDownImageUrl="../images/btn_back2.png" CausesValidation="False" onclick="btnReturn_Click" 
				></cc1:HoverButton>
                </td>
                                <td width="14">
                                    <img src="../images/tab_07_1.gif" width="14"  />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>

                 <tr>
                    <td >
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="15" >
                                    <img src="../images/tab_20_1.gif" width="15"  />
                                </td>
                                <td background="../images/tab_21_1.gif">
                                </td>
                                <td width="14">
                                    <img src="../images/tab_22_1.gif" width="14"  alt="" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
        </table>
        <p />

        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="30">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="15" height="30">
                            <img src="../images/tab_03.gif" width="15" height="30" />
                        </td>
                        <td width="1101" background="../images/tab_05.gif">
                            <img src="../images/311.gif" width="16" height="16" />
                            <span class="STYLE4"><asp:Label runat="server" ID="lblTitle"></asp:Label></span>
                        </td>
                        <td width="281" background="../images/tab_05.gif">
                        </td>
                        <td width="14">
                            <img src="../images/tab_07.gif" width="14" height="30" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="9" background="../images/tab_12.gif">
                            &nbsp;
                        </td>
                        <td bgcolor="#f3ffe3" style="font-size: 12px;">
                            <p>
                            </p>
                            <table border="0" width="100%" style="height: 100%;">
                                <tr>
                                    <td style="width: 120px; text-align: right;">
                                        工号:
                                    </td>
                                    <td style="text-align: left;">
                                        &nbsp;<asp:TextBox 
                                            ID="tbCode" runat="server" MaxLength="8"></asp:TextBox>
                                        <span class="style1">*<asp:RequiredFieldValidator ID="RequiredFieldValidator4" 
                                            runat="server" ControlToValidate="tbCode" Display="Dynamic" ErrorMessage="*" 
                                            ForeColor="Red">请输入工号</asp:RequiredFieldValidator>
                                        </span>
                                    </td>
                                </tr>
                                 <tr>
                                    <td style="width: 120px; text-align: right;">
                                        IC卡ID:
                                    </td>
                                    <td style="text-align: left;">
                                        &nbsp;<asp:TextBox 
                                            ID="TextBox1" runat="server" MaxLength="8"></asp:TextBox>
                                        <span class="style1"><asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
                                            runat="server" ControlToValidate="tbCode" Display="Dynamic"  
                                            ForeColor="Red">请输入IC卡ID</asp:RequiredFieldValidator>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 120px; text-align: right;">
                                        姓名: 
                                    </td>
                                    <td style="text-align: left;">
                                       &nbsp;<asp:TextBox 
                                            ID="tbName" runat="server" MaxLength="16"></asp:TextBox>
                                        <span class="style1">*<asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
                                            runat="server" ControlToValidate="tbName" Display="Dynamic" ErrorMessage="*" 
                                            ForeColor="Red">请输入姓名</asp:RequiredFieldValidator>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 120px; text-align: right;">
                                        性别: 
                                    </td>
                                    <td style="text-align: left;" >
                                        &nbsp;<asp:RadioButtonList ID="rbGender" runat="server" RepeatDirection="Horizontal" 
                                            RepeatLayout="Flow">
                                            <asp:ListItem Value="0">女</asp:ListItem>
                                            <asp:ListItem Selected="True" Value="1">男</asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 120px; text-align: right;">
                                        密码: 
                                    </td>
                                    <td style="text-align: left;">
                                       &nbsp;<asp:TextBox 
                                            ID="tbPassword" runat="server" TextMode="Password" MaxLength="16"></asp:TextBox>
                                        <span class="style1">*<asp:RequiredFieldValidator ID="RequiredFieldValidator3" 
                                            runat="server" ControlToValidate="tbPassword" Display="Dynamic" 
                                            ErrorMessage="*" ForeColor="Red">请输入密码</asp:RequiredFieldValidator>
                                        </span>
                                    </td>
                                </tr>
                                 <tr>
                                    <td style="width: 120px; text-align: right;">
                                        生日: 
                                    </td>
                                    <td style="text-align: left;">
                                        &nbsp;<asp:TextBox ID="tbBirthday" runat="server" CssClass="Wdate textbox" MaxLength="16" onfocus="WdatePicker({skin:'whyGreen',maxDate:'%y-%M-%d'})"></asp:TextBox>
                                     </td>
                                </tr>
                                <tr>
                                    <td style="width: 120px; text-align: right;">
                                        电话: 
                                    </td>
                                    <td style="text-align: left;">
                                       &nbsp;<asp:TextBox 
                                            ID="tbTel" runat="server" MaxLength="32"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 120px; text-align: right;">
                                        手机: 
                                    </td>
                                    <td style="text-align: left;">
                                       &nbsp;<asp:TextBox 
                                            ID="tbMobile" runat="server" MaxLength="32"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 120px; text-align: right;">
                                        邮箱: 
                                    </td>
                                    <td style="text-align: left;">
                                       &nbsp;<asp:TextBox 
                                            ID="tbEmail" runat="server" MaxLength="32"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 120px; text-align: right;">
                                        住址: 
                                    </td>
                                    <td style="text-align: left;">
                                        &nbsp;<asp:TextBox ID="tbAddress" runat="server" Height="43px" MaxLength="32" 
                                            TextMode="MultiLine" Width="297px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                        <asp:Label ID="lbResult" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td>

                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td width="9" background="../images/tab_16.gif">
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td height="29">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="15" height="29">
                            <img src="../images/tab_20.gif" width="15" height="29" />
                        </td>
                        <td background="../images/tab_21.gif">
                                        <asp:HiddenField ID="hdId" runat="server" />
                        </td>
                        <td width="14">
                            <img src="../images/tab_22.gif" width="14" height="29" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>

        </ContentTemplate>
        </asp:UpdatePanel>

        <asp:UpdateProgress ID="UpdateProgress1" runat="server">
            <ProgressTemplate>
                <img src="../images/indicator.gif" />&nbsp;&nbsp;正在保存，请稍候 ...
            </ProgressTemplate>
        </asp:UpdateProgress>
    </form>
</body>
</html>
